<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('OrderReceiveAddressBuyerUpdateParam/AlibabaOceanOpenplatformBizTradeParamAddressParam.class.php');

class AlibabaOceanOpenplatformBizTradeParamBuyerDeliveryAddressModifyParam extends SDKDomain {

       	
    private $orderId;
    
        /**
    * @return 
    */
        public function getOrderId() {
        return $this->orderId;
    }
    
    /**
     * 设置     
     * @param Long $orderId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOrderId( $orderId) {
        $this->orderId = $orderId;
    }
    
        	
    private $userId;
    
        /**
    * @return 
    */
        public function getUserId() {
        return $this->userId;
    }
    
    /**
     * 设置     
     * @param Long $userId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setUserId( $userId) {
        $this->userId = $userId;
    }
    
        	
    private $receiveAddress;
    
        /**
    * @return 
    */
        public function getReceiveAddress() {
        return $this->receiveAddress;
    }
    
    /**
     * 设置     
     * @param AlibabaOceanOpenplatformBizTradeParamAddressParam $receiveAddress     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setReceiveAddress(AlibabaOceanOpenplatformBizTradeParamAddressParam $receiveAddress) {
        $this->receiveAddress = $receiveAddress;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "orderId", $this->stdResult )) {
    				$this->orderId = $this->stdResult->{"orderId"};
    			}
    			    		    				    			    			if (array_key_exists ( "userId", $this->stdResult )) {
    				$this->userId = $this->stdResult->{"userId"};
    			}
    			    		    				    			    			if (array_key_exists ( "receiveAddress", $this->stdResult )) {
    				$receiveAddressResult=$this->stdResult->{"receiveAddress"};
    				$this->receiveAddress = new AlibabaOceanOpenplatformBizTradeParamAddressParam();
    				$this->receiveAddress->setStdResult ( $receiveAddressResult);
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "orderId", $this->arrayResult )) {
    			$this->orderId = $arrayResult['orderId'];
    			}
    		    	    			    		    			if (array_key_exists ( "userId", $this->arrayResult )) {
    			$this->userId = $arrayResult['userId'];
    			}
    		    	    			    		    		if (array_key_exists ( "receiveAddress", $this->arrayResult )) {
    		$receiveAddressResult=$arrayResult['receiveAddress'];
    			    			$this->receiveAddress = new AlibabaOceanOpenplatformBizTradeParamAddressParam();
    			    			$this->receiveAddress->setStdResult ( $receiveAddressResult);
    		}
    		    	    		}
 
   
}
?>